package com.plian.system.vo.pf;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * @description:
 * @author: gangan
 * @create: 2020-06-11 09:48
 */
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class GrantSalaryTreeVO {

    /**
     * 企业id
     */
    private String fillingUnitId;

    /**
     * 企业名称
     */
    private String fillingUnitName;

    private String fillingMonth;

    /**
     * 子节点
     */
    private List<GrantSalaryTreeVO> children;

    /**
     * 职工工资主表id
     */
    @JsonSerialize(using = ToStringSerializer.class)
    private Long baseGrantSalaryId;

    /**
     * 审批状态
     */
    private Integer status;

    /**
     * 1单户表 2统计表 3代表为树节点，没有数据
     */
    private Integer type;

    private String formType;

    private String typeName;
}
